package com.xbh.management.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.xbh.common.base.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * @program: management-center
 * @description:
 * @author: 许宝华
 * @create: 2021-09-25 14:16
 */

@Data
public class ManRole extends BaseEntity {

    @TableId(type = IdType.ASSIGN_ID)
    @Column(name = "role_id")
    private Long roleId;

    @Column(name = "role_name")
    private String roleName;

    @Column(name = "states")
    private Integer states;
}
